/*
 * @Description:
 * @Date: 2024-06-25 21:50:29
 * @LastEditTime: 2024-08-21 15:48:55
 */
import { createSSRApp } from 'vue'
import App from './App.vue'
import store from './store'
import { routeInterceptor, requestInterceptor, prototypeInterceptor } from './interceptors'
import 'virtual:uno.css'
import '@/style/index.scss'
import share from '@/utils/share'
export function createApp() {
  const app = createSSRApp(App)
  app.use(store)
  app.use(routeInterceptor)
  app.use(requestInterceptor)
  app.use(prototypeInterceptor)
  app.mixin(share)
  return {
    app,
  }
}
